package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyZxBaoxiaodanAudit;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyZxBaoxiaodanAuditParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyZxBaoxiaodanAuditResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zxd
 * @since 2022-04-24
 */
public interface BtyZxBaoxiaodanAuditService extends IService<BtyZxBaoxiaodanAudit> {

    /**
     * 新增
     *
     * @author zxd
     * @Date 2022-04-24
     */
    void add(BtyZxBaoxiaodanAuditParam param);

    /**
     * 删除
     *
     * @author zxd
     * @Date 2022-04-24
     */
    void delete(BtyZxBaoxiaodanAuditParam param);

    /**
     * 更新
     *
     * @author zxd
     * @Date 2022-04-24
     */
    void update(BtyZxBaoxiaodanAuditParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zxd
     * @Date 2022-04-24
     */
    BtyZxBaoxiaodanAuditResult findBySpec(BtyZxBaoxiaodanAuditParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zxd
     * @Date 2022-04-24
     */
    List<BtyZxBaoxiaodanAuditResult> findListBySpec(BtyZxBaoxiaodanAuditParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zxd
     * @Date 2022-04-24
     */
     LayuiPageInfo findPageBySpec(BtyZxBaoxiaodanAuditParam param);

    /**
     * 明细保存
     *
     * @author zxd
     * @Date 2022-04-27
     */
    void cbmxSave(BtyZxBaoxiaodanAuditParam param);

    /**
     * 财务驳回
     *
     * @author zxd
     * @Date 2022-05-05
     */
    void financeReject(BtyZxBaoxiaodanAuditParam param);

    /**
     * 财务通过
     *
     * @author zxd
     * @Date 2022-05-05
     */
    void financeAgree(BtyZxBaoxiaodanAuditParam param);
}
